import request from '@/utils/request'

// 查询指令发送记录列表
export function listOrderSendRecord(query) {
  return request({
    url: '/comlbs/orderSendRecord/list',
    method: 'get',
    params: query
  })
}

// 查询指令发送记录详细
export function getOrderSendRecord(id) {
  return request({
    url: '/comlbs/orderSendRecord/' + id,
    method: 'get'
  })
}

// 新增指令发送记录
export function addOrderSendRecord(data) {
  return request({
    url: '/comlbs/orderSendRecord',
    method: 'post',
    data: data
  })
}

// 修改指令发送记录
export function updateOrderSendRecord(data) {
  return request({
    url: '/comlbs/orderSendRecord',
    method: 'put',
    data: data
  })
}

// 删除指令发送记录
export function delOrderSendRecord(id) {
  return request({
    url: '/comlbs/orderSendRecord/' + id,
    method: 'delete'
  })
}
